<template>
    <div class="cardVoucher" :style="{height: h,width: w}">
        <van-nav-bar title="红包/卡券" left-text="返回" left-arrow fixed @click-left="onClickLeft"></van-nav-bar>
        <div class="cardVoucher-content">
            <van-empty description="居然一张优惠券也没有~" />
        </div>
    </div>
</template>

<script>
export default {
    data(){
        return{
            h:"",
            w:""
        }
    },
    methods:{
        onClickLeft(){
            this.$router.push("/me");
        }
    },
    mounted() {
        this.h=window.screen.height+'px';
        this.w=window.screen.width+'px';
    },
}
</script>

<style>
.cardVoucher{
    background: #F1F1F1;
}
.cardVoucher .van-nav-bar{
    border-bottom: 1px solid #d6cdcd;
    }
.cardVoucher .cardVoucher-content{
    position: relative;
    background: rgb(241, 241, 241);
    top:46px;
}
</style>
